package com.kakarote.admin.entity.BO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author wwl
 * @date 2022/7/8 14:41
 */
@Data
@ApiModel("企业限制人数、到期时间")
public class AdminExpireBO {

    @ApiModelProperty(value = "正在使用的商品id")
    private Long inUseGoodsId;

    @ApiModelProperty(value = "应用id")
    private Long applyId;

    @ApiModelProperty(value = "企业管理id")
    private Long managerId;

    @ApiModelProperty(value = "限制使用的人数，试用人数88888匹配不到商品，其它人数能匹配到商品")
    private Integer amount;

    @ApiModelProperty(value = "正在使用人数")
    private Integer useAmount;

    @ApiModelProperty(value = "状态1正常、2试用、3过期")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "开始使用时间")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "到期时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "总天数")
    private Long allDays;

    @ApiModelProperty(value = "剩余天数")
    private Long lastDays;

}
